<template>
  <div class="about-page">
    <!-- 页面标题 -->
    <section class="page-header">
      <div class="container">
        <h1 data-aos="fade-up">关于我们</h1>
        <p data-aos="fade-up" data-aos-delay="100">了解我们的故事和使命</p>
      </div>
    </section>

    <!-- 公司简介 -->
    <section class="company-intro">
      <div class="container">
        <div class="intro-content">
          <div class="intro-text" data-aos="fade-right">
            <h2>公司简介</h2>
            <p>我们是一家专注于跨境电商的企业，成立于2025年。多年来，我们始终致力于为全球客户提供优质的跨境电商产品,让大家享受物美价廉商品。</p>
            <p>我们的团队由经验丰富的跨境电商专家组成，拥有丰富的行业经验和专业知识。我们不断创新，追求卓越，为客户创造更大的价值。</p>
          </div>
          <div class="intro-image" data-aos="fade-left">
            <img src="@/assets/company-intro.jpg" alt="公司简介">
          </div>
        </div>
      </div>
    </section>

    <!-- 发展历程 -->
    <section class="history-section">
      <div class="container">
        <h2 class="section-title" data-aos="fade-up">发展历程</h2>
        <div class="timeline">
          <div class="timeline-item" data-aos="fade-up">
            <div class="timeline-date">2010</div>
            <div class="timeline-content">
              <h3>公司成立</h3>
              <p>在广州成立，开始从事跨境电商</p>
            </div>
          </div>
          <div class="timeline-item" data-aos="fade-up">
            <div class="timeline-date">2015</div>
            <div class="timeline-content">
              <h3>业务扩展</h3>
              <p>业务范围扩展到全球主要市场</p>
            </div>
          </div>
          <div class="timeline-item" data-aos="fade-up">
            <div class="timeline-date">2018</div>
            <div class="timeline-content">
              <h3>技术创新</h3>
              <p>开发自有跨境电商品牌，提升服务效率</p>
            </div>
          </div>
          <div class="timeline-item" data-aos="fade-up">
            <div class="timeline-date">2023</div>
            <div class="timeline-content">
              <h3>持续发展</h3>
              <p>成为行业领先的跨境电商公司</p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 企业文化 -->
    <section class="culture-section">
      <div class="container">
        <h2 class="section-title" data-aos="fade-up">企业文化</h2>
        <div class="culture-grid">
          <div class="culture-item" data-aos="fade-up">
            <i class="el-icon-aim"></i>
            <h3>使命</h3>
            <p>助力中国企业走向世界，为全球客户创造价值</p>
          </div>
          <div class="culture-item" data-aos="fade-up" data-aos-delay="100">
            <i class="el-icon-view"></i>
            <h3>愿景</h3>
            <p>成为全球领先的跨境电商公司</p>
          </div>
          <div class="culture-item" data-aos="fade-up" data-aos-delay="200">
            <i class="el-icon-s-opportunity"></i>
            <h3>价值观</h3>
            <p>诚信、创新、专业、共赢</p>
          </div>
        </div>
      </div>
    </section>
  </div>
</template>

<script setup>
// 组件逻辑
</script>

<style scoped>
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('@/assets/about-header.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.company-intro {
  padding: 80px 0;
  background: #f8f9fa;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro-text h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

.intro-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.intro-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.history-section {
  padding: 80px 0;
  background: #fff;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #3498db;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-date {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #3498db;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 55%;
}

.culture-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.culture-item {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.culture-item:hover {
  transform: translateY(-10px);
}

.culture-item i {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 20px;
}

.culture-item h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-date {
    left: 30px;
    transform: none;
  }

  .timeline-content {
    width: calc(100% - 60px);
    left: 60px !important;
  }
}
</style> 